import { $freePost } from '@js/request'

export async function registryRequest (mobile, verification) {
  const res = await $freePost('/api/common/mobile_register', {
    mobile,
    verification
  })
  return res.data
}
export async function sendSMSRequest (mobile) {
  const res = await $freePost('/api/common/sms', {
    mobile,
    template_code: 'SMS_182920835'
  })
  return res.data
}
